package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.BankAccount;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface BankAccountDao {
    int deleteByPrimaryKey(BankAccount record);

    int insert(BankAccount record);

    int insertSelective(BankAccount record);

    List<BankAccount> selectPageQuery(QueryDto queryDto);

    List<BankAccount> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    BankAccount selectOne(QueryDto queryDto);

    BankAccount selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")BankAccount record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(BankAccount record);
}